package Domain;

import java.util.Date;

public class Orderselect {
    private int id;
    private String username;
    private String address;
    private String tel;
    private Date ordertime;
    private String orderstatus;
    private String name;
    private String payment;
    private double ordersum;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Date getOrdertime() {
        return ordertime;
    }

    public void setOrdertime(Date ordertime) {
        this.ordertime = ordertime;
    }

    public String getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(String orderstatus) {
        this.orderstatus = orderstatus;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public double getOrdersum() {
        return ordersum;
    }

    public void setOrdersum(double ordersum) {
        this.ordersum = ordersum;
    }

    @Override
    public String toString() {
        return "Orderselect{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", address='" + address + '\'' +
                ", tel='" + tel + '\'' +
                ", ordertime=" + ordertime +
                ", orderstatus='" + orderstatus + '\'' +
                ", name='" + name + '\'' +
                ", payment='" + payment + '\'' +
                ", ordersum=" + ordersum +
                '}';
    }
}
